{extend name="layout/layout" /}

{block name="content"}
<blockquote class="layui-elem-quote quoteBox">
    <div class="layui-input-inline">
        <h2 >门店销售单详情</h2>
    </div>
    <div class="layui-input-inline" style="float: right;">
        <a  href="javascript:history.back(-1)"  class="layui-btn layui-btn-normal "><i class="layui-icon">&#xe65a;</i>返回</a>
    </div>
</blockquote>
<div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">销售门店: {$info.name}</div>
                <div class="layui-card-header">单据编号: {$info.order_no}</div>
                <div class="layui-card-header">实付金额: {$info.pay_reality}</div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header">日期: {$info.pay_time}</div>
                <div class="layui-card-header">单据金额: {$info.pay_price}</div>
                <div class="layui-card-header">优惠金额: {$info.discount_price}</div>
            </div>
        </div>
    </div>
</div>
<table id="dataTable" lay-filter="dataTable"></table>
<div class="layui-table-header">
    <table class="layui-table" cellspacing="0" cellpadding="0" border="0">
        <tr>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>合计</span></th>
            <th class="layui-table-cell" style="width: 200px;text-align: center" ><span>-</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>-</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>-</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>10</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>-</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>-</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>1250</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>10</span></th>
            <th class="layui-table-cell" style="width: 187px;text-align: center" ><span>10</span></th>
        </tr>
    </table>
</div>
<div style="padding: 20px; background-color: #F2F2F2;">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header" style="height: 150px;line-height: 140px;font-size: 24px;">付款方式: {$info.pay_type}</div>
            </div>
        </div>
        <div class="layui-col-md6">
            <div class="layui-card">
                <div class="layui-card-header" style="height: 150px;line-height: 140px;font-size: 24px;">实付金额: {$info.pay_reality}</div>
            </div>
        </div>
    </div>
</div>
<input type="hidden" class="datalist_url" value="{:url('admin/sale/index')}">
<input type="hidden" class="detail_url" value="{:url('admin/sale/detail')}?id={$id}">
{/block}

{block name="pagescript"}
<script>
    var DELETE_URL = "{:url('admin/product/delete')}";
</script>
<script src="__STATIC__/admin/pages/js/saleDetail.js" type="text/javascript"></script>
{/block}